package jxtend.processor.eclipse.visitor.handler;

import org.eclipse.jdt.internal.compiler.problem.ProblemSeverities;

@SuppressWarnings("restriction")
public enum ProblemSeverity {
	WARNING(ProblemSeverities.Warning),
	ERROR(ProblemSeverities.Error | ProblemSeverities.Fatal);

	private final int severityFlags;

	private ProblemSeverity(int severityFlags) {
		this.severityFlags = severityFlags;
	}

	public int getSeverityFlags() {
		return severityFlags;
	}
}
